package serverDB;

import java.io.Serializable;

import search.TagedFiles;
/**
 * container of one row data in Tages table
 * @author ran
 *
 */
public class Tages  implements Serializable{
	/**
	 * Default serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	private long tagId = 0;
	private String tagType = "";
	private String tag = "";
	
	public Tages() {
	}
	
	public Tages(TagedFiles tagedFile) {
		this.tagType = tagedFile.getTagType();
		this.tag = tagedFile.getTag();
	}
	//getters and setters
	public long getTagId() {
		return tagId;
	}
	public void setTagId(long tagId) {
		this.tagId = tagId;
	}
	public String getTagType() {
		return tagType;
	}
	public void setTagType(String tagType) {
		this.tagType = tagType;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	

}
